import request from "@/utils/request";

export default {
    getlawNoticeInfoList(page, limit, noticeTitle) {
        return request({
            method: "GET",
            url: "/lawNoticeInfo/list",
            params: {
                page: page, //当前页
                limit: limit, //每页数据多少条
                noticeTitle: noticeTitle  // 标题
            }
        })
    },

    getDetailById(id) {
        return request({
            method: "POST",
            url: "/lawNoticeInfo/detail",
            params: {
                id: id
            }
        })
    }
}